package com.peas.platform.module.icims.contract.basal.dto;

import java.util.*;

import com.peas.platform.common.core.annotation.Comment;
import com.peas.platform.common.core.dto.BaseDto;
import com.peas.platform.framework.mybatisplus.annotation.Condition;
import com.peas.platform.framework.mybatisplus.annotation.ConditionOperator;
import lombok.Data;
import lombok.EqualsAndHashCode;

// 合同类型
@Data
@EqualsAndHashCode(callSuper = false)
public class ContractTypeDto extends BaseDto {

    // 合同类型编码
    @Comment(value = "合同类型编码")
    @Condition(operator = ConditionOperator.IN)
    private String code;

    // 合同类型名称
    @Comment(value = "合同类型名称")
    private String name;

    // 所属大类
    @Comment(value = "所属大类")
    private String catalog;

    // 是否到期预警
    @Comment(value = "是否到期预警")
    private String isWarning;

    // 预警提前天数
    @Comment(value = "预警提前天数")
    private Integer warningForward;

    // 状态
    // 枚举取值:CommonEnableDisable
    @Comment(value = "状态", enumType = "CommonEnableDisable")
    @Condition(operator = ConditionOperator.IN)
    private String state;

    //Criteria
    private Date createTimeStart;
    private Date createTimeEnd;
    private Date updateTimeStart;
    private Date updateTimeEnd;
}
